import request from '@/utils/request'
import { apiUrl } from '@/config/env'

export function getNavigation(data) {
  return request({
    url: `${apiUrl}/wareNavigation/getNavigation`,
    method: 'get',
    params: data
  })
}

export function saveNavigation(data) {
  return request({
    url: `${apiUrl}/wareNavigation/saveNavigation`,
    method: 'post',
    params: data
  })
}

export function delNavigation(data) {
  return request({
    url: `${apiUrl}/wareNavigation/delNavigation`,
    method: 'post',
    params: data
  })
}

